body {
    margin: 0;
    padding: 0;
    border: 0;
    background-color: #f8f8f8;
}

.home-header {
    height: 56px;
    width: 100%;
    position: fixed;
    top: 0;
    display: flex;
    align-items: center;
    background-color: #FFF;
    border-bottom: 1px solid #f4f4f4;
    z-index: 11;
}

.home-header .home-header-btn {
    position: absolute;
    right: 20px;
}

.home-header .home-header-btn button {
    color: #000;
}

.home-header .home-header-btn button:hover {
    color: #525252;
}


.home-content-container {
    margin: 76px 152px 38px 152px;
}

.home-content-search {
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-content-search .el-input {
    width: 40%;
    margin-left: 56px;
}

.home-content-search .el-input-group__append button.el-button {
    color: #FFF;
    background-color: #409EFF;
    border-color: #409EFF;
    border-radius: 0;
    border-top: 0;
    border-bottom: 0;
    height: 40px;
}

.home-content-search .el-input-group__append button.el-button:hover {
    background-color: #0e86ff;
    border-color: #0e86ff;
}

.home-content-search .el-input-group__append {
    border: 0;
    overflow: hidden;
}

.home-content-list {
    padding: 32px 0 0 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.home-content-list-item {
    height: 300px;
    width: 250px;
    background-color: #fff;
    border: 1px solid #f4f4f4;
    border-radius: 4px;
    padding: 16px 25px;
}

.home-content-list-item:hover {
    transition: box-shadow 0.8s;
    box-shadow: 0 0 50px rgba(139, 139, 139, 0.3);
}

.home-content-list-container .el-pagination {
    width: 100%;
    padding: 0;
    background-color: #f8f8f8;
    position: fixed;
    bottom: 0;
    margin-left: -215px;
    z-index: 11;
    display: flex;
    justify-content: center;
}

.home-content-list-container .el-pagination button,
.home-content-list-container .el-pagination .el-pager li {
    background-color: transparent;
    font-size: 16px;
}

.list-item-name {
    line-height: 40px;
    width: 100%;
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.list-item-info {
    line-height: 32px;
    background-color: rgb(90, 111, 175);
    position: relative;
}


.list-item-info-price {
    position: absolute;
    left: 0;
    font-size: 24px;
    color: #fe6401;
}

.list-item-info-sold {
    position: absolute;
    right: 0;
    font-size: 14px;
    color: #6b6b6b;
}

.home-content-details {
    width: 100%;
    padding: 32px 16px;
    display: flex;
    flex-direction: row;
}

.details-img {
    box-shadow: 0 0 20px rgba(139, 139, 139, 0.6);
}

.details-info {
    width: 100%;
    margin-left: 32px;
    position: relative;
}

.details-name {
    font-size: 24px;
}

.details-sold {
    font-size: 16px;
    position: relative;
    color: #6b6b6b;
    margin-top: 32px;
}

.details-sold span {
    margin-right: 16px;
}

.details-price {
    margin-top: 16px;
    font-size: 24px;
    color: #fe6401;
}

.details-desc {
    margin-top: 16px;
    font-size: 16px;
    height: 400px;
    overflow-y: scroll;
    /* 隐藏滚动条 */
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* 隐藏滚动条 */
.details-desc::-webkit-scrollbar {
    display: none;
}

.details-opts {
    position: absolute;
    bottom: 0;
}

.details-opts .el-input-number {
    margin-right: 32px;
}

.details-btn-group button span {
    font-size: 12px;
}

/* 聊天弹窗 */
.el-dialog__body {
    display: flex;
    flex-direction: row;
    height: 600px;
}
.home-chat-list {
    height: 100%;
    width: 25%;
    overflow-y: scroll;
    /* 隐藏滚动条 */
    -ms-overflow-style: none;
    scrollbar-width: none;
}
/* 隐藏滚动条 */
.home-chat-list::-webkit-scrollbar {
    display: none;
}

.home-chat-list-item {
    height: 80px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f8f8f8;
    font-size: 18px;
}

/* 选中的聊天窗口 */
.selected-chat {
    background-color: #f8f8f8;
}

.home-chat-list-item img {
    width: 46px;
    height: 46px;
    object-fit: cover;
    border-radius: 23px;
    margin-right: 12px;
}

.home-chat-page {
    height: 100%;
    flex-grow: 1;
    background-color: #f8f8f8;
}

.home-chat-page .chat-lines {
    height: 90%;
    overflow-y: scroll;
    /* 隐藏滚动条 */
    -ms-overflow-style: none;
    scrollbar-width: none;
}
            
/* 隐藏滚动条 */
.chat-lines::-webkit-scrollbar {
    display: none;
}

.home-chat-page .chat-send {
    height: 10%;
    background-color: #FFF;
    display: flex;
    justify-content: center;
    align-items: center;
}

.chat-send .el-color-picker__icon,
.el-input,
.el-textarea {
    width: 70%;
    margin-right: 20px;
}

/* 聊天窗口内样式 */
.chat-one-line-container {
    padding: 10px;
}

.chat-one-line {
    margin: 8px 0;
    display: flex;
    text-align: center;   
}

.chat-one-line img {
    width: 30px;
    height: 30px;
    border-radius: 15px;
    object-fit: cover;
    margin-right: 10px;
}

.chat-one-line .chat-line-content {
    padding: 8px;
    border-radius: 8px;
    line-height: 100%;
    font-size: 15px;
    line-height: 22px;
    margin-right: 10px;
    max-width: 350px;
    overflow: hidden;
    text-align: left;
}

.chat-one-line .chat-line-date {
    margin-right: 10px;
    color: #3b3b3b76;
    font-size: 10px;
    display: flex;
    align-items: flex-end;
}

.chat-one-line-user {
    justify-content: right;
}
.chat-one-line-user .chat-line-content {
    background-color: #409eff;
    color: #f7f7f7;
}

.chat-one-line-seller {
    justify-content: left;
}
.chat-one-line-seller .chat-line-content {
    background-color: #fff;
}